package com.charm.businesshub.ui.activity

import android.graphics.Color
import android.os.Bundle
import android.os.PersistableBundle
import android.support.v7.app.AppCompatActivity
import com.alibaba.android.arouter.facade.annotation.Route
import org.jetbrains.anko.linearLayout
import org.jetbrains.anko.textView
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.r0adkll.slidr.Slidr
import org.jetbrains.anko.backgroundColor


/**
 * Created by tools on 2018/1/5.
 */
@Route(path = "/businesshub/detail")
class NewsDetailActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        Slidr.attach(this@NewsDetailActivity)
        var content = intent.extras.get("content") as String
        linearLayout {
            backgroundColor = Color.TRANSPARENT
            textView {
                text = content
            }
        }
    }

}